package com.ming.feign.controller;

import com.ming.feign.service.ServiceConfigClient;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Auther: tangC
 * @Date: 2020/6/8 14:40
 * @Description:
 */
@RestController
public class TestController {

    @Autowired
    private ServiceConfigClient serviceConfigClient;

    @RequestMapping(value = "/test",method = RequestMethod.GET)
    public String test(){
        return serviceConfigClient.test();
    }
}
